<h1>Listing line_products</h1>

<table>
  <tr>
    <th>Product</th>
    <th>Configurator</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @line_products.each do |line_product| %>
  <tr>
    <td><%= line_product.product_id %></td>
    <td><%= line_product.configurator_id %></td>
    <td><%= link_to 'Show', line_product %></td>
    <td><%= link_to 'Edit', edit_line_product_path(line_product) %></td>
    <td><%= link_to 'Destroy', line_product, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Line product', new_line_product_path %>
